# https://zidian.aies.cn/pinyin_index.htm#A
import win32clipboard as w
import win32con

def get_text():
	w.OpenClipboard()
	s = w.GetClipboardData()
	w.CloseClipboard()
	return s
	
def set_text(s):
	w.OpenClipboard()
	w.EmptyClipboard()
	#w.SetClipboardData(win32con.CF_TEXT, s.encode('utf-16le'))
	w.SetClipboardData(win32con.CF_UNICODETEXT, s)
	w.CloseClipboard()

s = ''
for x in get_text().split():
	i = x.rfind('：')
	s += x[i + 1:]
set_text(s)
print(s)


